DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / ISupportRangeEditing<T> Interface / RemoveRangeAsync Method
The index.
The number of items to be removed.
The cancellation token.

In This Topic
    RemoveRangeAsync Method (ISupportRangeEditing<T>)
    In This Topic
    Removes the items at the specified startingIndex from the collection.
    Syntax
    'Declaration
     
    Function RemoveRangeAsync( _
       ByVal startingIndex As Integer, _
       ByVal count As Integer, _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task
    Task RemoveRangeAsync( 
       int startingIndex,
       int count,
       CancellationToken cancellationToken
    )

    Parameters

    startingIndex
    The index.
    count
    The number of items to be removed.
    cancellationToken
    The cancellation token.
    See Also